<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv=X-UA-Compatible content="IE=edge,chrome=1">
    <meta content=always name=referrer>
    <link rel="stylesheet" type="text/css" href="__STATIC__/css/newbase.css">
    <script src="__STATIC__/js/jquery-1.8.2.js"></script>
    <title>发表评论</title>
    <script>
        $(function () {
            var h=$(".photo li").width();
            $(".fileInputContainer").css({height:h+"px"});
            $(".fileInput").css({height:h+"px"});
        })
    </script>
{include file="public/href" /}
</head>
<body>
<form action="" method="post" id="form">
<div class="wrap-rew">
    <div class="header">
        <p>发表评论</p>
        <img src="__STATIC__/img_user/back.png" class="back" onclick=window.location.href="{:url('mobile/user_info/member_order')}">
    </div>
    <div class="main">
        <img src="__STATIC__/img/goods.png">
        <div>
            <span>满意度评价：</span>
            <ul>
                <li><a href="javascript:;"><img src="__STATIC__/img_user/smile.png"></a></li>
                <li><a href="javascript:;"><img src="__STATIC__/img_user/smile.png"></a></li>
                <li><a href="javascript:;"><img src="__STATIC__/img_user/smile.png"></a></li>
                <li><a href="javascript:;"><img src="__STATIC__/img_user/smile.png"></a></li>
                <li><a href="javascript:;"><img src="__STATIC__/img_user/smile.png"></a></li>
            </ul>
        </div>
    </div>
    <div class="center">
        <span>亲，留下你的评价吧～</span>
        <textarea></textarea>
    </div>
    <div>
        <h4>添加截图</h4>
        <ul class="photo">
            <li>
                <div class="fileInputContainer" id="wall_0">
                    <input class="fileInput" type="file"  name="picArr[]" id="imgInp_0" />
                </div>
            </li>
        </ul>
    </div>
    <div class="footer">
        <div class="all">
            <div class="choose"><a href="#"><input type="checkbox" id="radio-1-3" name="radio-1-set" class="radio"/><label for="radio-1-3">匿名</label>  </a></div>
            <div class="total">
                <span class="settle">   评价   </span>
            </div>
        </div>
    </div>
</div>
</form>
{include file="public/src" /}
<script>
//    Validform
        $(function () {
            $.Tipmsg.r = null;
            $('#form').Validform({
                tiptype: function (msg) {
                    layer.open({content: msg, skin: 'msg', time: 2});
                },
                btnSubmit: '#',
                tipSweep: true,
                ajaxPost:true,
                success:function (t) {
                    if (t.code == 200){
                        mh_dialogShow('mh_success', t.message, 2, true, "{:url('mobile/user_info/member_order')}");
                    }else{
                        layer.open({content:t.message,ski:'msg',time:2});
                    }
                },
                error: function () {
                    layer.open({content:'网络繁忙,请重试',skin:'msg',time:2});
                }
            })

        });
</script>
</body>
</html>